<?php

session_start();
include_once( '../config.php' );
include_once( '../weibooauth.php' );


$key = $_SESSION['last_key']['oauth_token']." ".$_SESSION['last_key']['oauth_token_secret'];
$fp = fopen(KEY_FILE, "w");
fwrite($fp, $key);
fclose($fp);
echo "发表账号设置成功";
?>